﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    public interface IOperatorYearTick
    {
        /// <summary>
        /// 得到操作员年盈利或亏损的Tick数量
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="tradeHistoryId"></param>
        /// <param name="win"></param>
        /// <returns></returns>
        List<OperatorYearTick> GetOperatorYearWinOrLostTicks(int operatorid, int year, bool win);

        void InitOperatorYearTick(int year, bool win);

        void Delete(int year);
    }
}
